<!DOCTYPE html>
<html>
<head>
  <title></title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="/css/index.css">
</head>

<body>
    <div class="main"> 
        <h2>注册</h2>
        <form action="/user/register" method="post">
        <input name="name" type="text" value="leonchua" placeholder="请输入用户名：leonchua"/> 
        <br/>
        <input name="password" type="text" value="123456" placeholder="请输入密码：123456"/>
        <br/> 
        <button>{{btnTitle}}</button>
            {{ categoryList }}

        </form>

        <div>
            <ul>
                {% for item in categoryList %}
                <li>
                    <a href="/user/detail/{{item._id}}">
                        <div>
                            {{item.name}}
                        </div>
                        <p>
                            {{item.description}}
                        </p>
                    </a>
                </li>

                {% endfor %}
            </ul>
        </div>
    </div>
</body>




</html>